<!--edit page create by pionner at Wed Dec 03 19:10:11 CST 2008-->
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<script language="javascript">
	function IsEmpty()
{
var title=document.addform.title.value;
var content=document.addform.content.value;
if(title==0||title==null||content==0||content==null){
alert("请填写完整内容!");
return;
}
document.addform.submit();
}
	</script>
	
	<base href="<%=basePath%>">
		<title>NormalSms</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="css/style.css">
		<link rel='stylesheet' type='text/css' href='css/table.css'>
		<script src='js/comm.js'></script>
	</head>
	<body>
		<table width="200" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="90"><img src="images/loc-head.jpg" width="90" height="24"></td>
				<td valign="middle" nowrap background="images/loc-bg.jpg">新建常用短信</td>
				<td width="12"><img src="images/loc-tail.jpg" width="12" height="24"></td>
			</tr>
		</table><br>

		<table>
			<tr>
				<td background="1images/tb-bg.jpg" width="120">&nbsp;
					<a href="javascript:IsEmpty()" >
						<img src="images/btn-submit.jpg" border="0" style="cursor:hand;">
					</a>
				</td>
				
				<td background="1images/tb-bg.jpg" width="120">&nbsp;
					<a href="<s:url action="normalsmsList"><s:param name="id" value="id" /></s:url>" >
						<img src="images/btn-list.jpg" width="104" height="21" border="0" style="cursor:hand;">
					</a>
				</td>
			</tr>
		</table>

		<hr>
		<s:form name="addform"  action="normalsmsSave.action">
			<table width='100%' border='0' cellspacing='1' class="ipttable">
				<s:textfield name='title' label='标题' size="60"/>
				<s:textarea name='content' label='内容' cols="60" rows="4" />
			</table>
		</s:form>
	</body>
</html>
